Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMGetAWTContextFrame

Gets a particular frame associated with an AWT context.

OSStatus JMGetAWTContextFrame (
JMAWTContextRef context, 
UInt32 frameIndex, 
JMFrameRef* frame);
context
The AWT context that contains the frame.
frameIndex
The index number of the frame.
frame
A pointer to the frame. On return, this parameter holds the frame with index frameIndex.
function result
A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The index numbers for frames range from 0 to frameCount-1 (as determined by the JMCountAWTContextFrames function), with the most recently added frame having the highest number. The index number of a particular frame is not necessarily constant; removing or adding frames can cause the index number to change.

SEE ALSO
The JMCountAWTContextFrames function (page 31).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help